package com.wxc.wxcwzq.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@Controller
@RequestMapping("/wxc")
public class WebViewController {
	/**
	 * 用户管理
	 * @return
	 */
	@RequestMapping("/user/userList")
	public String userList(){
		System.out.println("进来了--->>>>>");
		return "page/user/userList";
	}
	
	/**
	 * 文章列表
	 * @return
	 */
	@RequestMapping("/news/newsList")
	public String newsList(){
		System.out.println("进来了--->>>>>");
		return "page/news/newsList";
	}
	
	/**
	 * 404页面
	 * @return
	 */
	@RequestMapping("/page/404")
	public String getErrorPage(){
		System.out.println("进来了--->>>>>");
		return "page/404";
	}
	
	
	/**
	 * 系统基本参数
	 * @return
	 */
	@RequestMapping("/systemSetting/basicParameter")
	public String systemSetting(){
		System.out.println("进来了--->>>>>");
		return "page/systemSetting/basicParameter";
	}
	/**
	 * 系统日志
	 * @return
	 */
	@RequestMapping("/systemSetting/logs")
	public String systemLogs(){
		System.out.println("进来了--->>>>>");
		return "page/systemSetting/logs";
	}
	
	/**
	 * 图片管理
	 * @return
	 */
	@RequestMapping("/img/images")
	public String getimagesInfo(){
		System.out.println("进来了--->>>>>");
		return "page/img/images";
	}
	
}
